
\subsection{Problem 1}

Recommended (3): As a warm-up exercise, follow the instruction in ``Timing Analysis Lab: First Steps''. 
\\
Q: How long does it take to execute simple once, according to measurements, and according to the static analysis?
\\
\\
\textbf{Solution:}
\\
\\
According to the \emph{aiT} tool we got a WCET of 705 cycles, as shown in Figure~\ref{fig:1}. According to our own measurements the execution
of \texttt{simple} lasts 763 cycles with an assumed overhead (with function calls) of 70.  

\begin{figure}[htbp]
	\centering
		\includegraphics[width=0.40\textwidth]{figures/1.PNG}
	\caption{Static analysis of program simple}
	\label{fig:1}
\end{figure}
